<!DOCTYPE html>
<html lang="zh-CN">
<head>
	<meta charset="utf-8">
	<title>秒杀</title>
	<link href="/static/css/timeTo.css" type="text/css" rel="stylesheet"/>
	<link href="/static/css/style.css" type="text/css" rel="stylesheet"/>
	<script src="https://cdn.bootcss.com/jquery/2.2.4/jquery.min.js"></script>
	<script src="/static/js/jquery.time-to.min.js"></script>
</head>

<body>
	<div id="box">
		<img class="ms_pic"  src="/static/img/huawei.jpg" />
	</div>
	
	<div  class="countdown" id="countdown"></div>
</body>

<script>
tt=20

if(tt<0){
    tt='stop';
}


$('#countdown').timeTo(tt,function(){
    $('#box').append('<img class="ms_start"  src="/static/img/start.jpg" />');
});
</script>
</html>